package com.gourd.common.dic.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gourd.common.dic.entity.Dic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * 数据字典明细表 Mapper 接口
 *
 * @author gourd
 * @since 2019-07-30
 */
@Repository
public interface DicDao extends BaseMapper<Dic> {


    List<Dic> findRegionData(@Param("typeList") List<String> typeList);

    /**
     * 逻辑删除
     *
     */
    Long logicDeleteById(@Param("id") Long id);
}

